﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataBase
{
    [Table("Settings")]
    public class Settings
    {
        /// <summary>
        /// 主键，自动递增
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }

        /// <summary>
        /// Key
        /// </summary>

        [Column("Key")]
        public string Key { get; set; }

        /// <summary>
        /// 主键，自动递增
        /// </summary>

        [Column("Value")]
        public string Value { get; set; }

        /// <summary>
        /// 选项
        /// </summary>

        [Column("Option")]
        public string? Option { get; set; }

        /// <summary>
        /// 说明
        /// </summary>

        [Column("Describe")]
        public string? Describe { get; set; }
    }
}
